<%-- 
    Document   : tab_maintenence
    Created on : Jan 25, 2012, 1:03:31 PM
    Author     : haqqiem
--%>

<%@ include file="/WEB-INF/jsp/include/page_header.jspf" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<link type="text/css" href="${pageContext.request.contextPath}/pub/styles/ui-lightness/jquery-ui-1.7.2.custom.css" rel="stylesheet" />
<script type="text/javascript" src="${pageContext.request.contextPath}/pub/js/ui.tabs.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/pub/js/ui.blockUI.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/pub/js/jquery.form.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/pub/js/clear-text.js"></script>
<link type="text/css" href="${pageContext.request.contextPath}/css/ui-lightness/jquery-ui-1.8.17.custom.css" rel="stylesheet" />
<link rel="stylesheet" href="${pageContext.request.contextPath}/css/style.css" type="text/css" media="screen" />
<link type="text/css" rel="stylesheet"
      href="pub/styles/tabNavList.css"/>
<style type="text/css">
    .cursor_pointer {
        cursor:pointer;
    }
</style>
<script type="text/javascript">
    /*THIS JAVASCRIPT FIX DISPLAY TAG BUG TO OPEN PROPER TAB AFTER CLICK PAGE NUMEBR ON DISPLAY TAG*/
    $(document).ready(function() {
        $("#tab_hakmilik").tabs();
        $("#tab_hakmilik").tabs('select','#'+'${actionBean.selectedTab}');
    });
</script>
<div id="aa">
    <div class="subtitle">
        <s:errors/>
        <s:messages/>
        <form:form beanclass="ipfms.stripes.maintenance.CheckingComplaintsActionBean">
            <%--<s:hidden name="kodDaerah" value="${actionBean.kodDaerah}"/>
            <s:hidden name="kodHakmilik" value="${actionBean.kodHakmilik}"/>
            <s:hidden name="caw" value="${actionBean.caw}"/>--%>
        </form:form>


    </div>
    <br>
    <div id="tab_hakmilik">
        <ul>
            <li><a href="#det_property" id="tab1">Property</a></li>
            <li><a href="#det_complaint" id="tab2">Complaint</a></li>
        </ul>
        <div id="det_property">
            <%@ include file="/WEB-INF/jsp/maintenance/details_property.jsp" %>
        </div>
        <div id="det_complaint">
            <%@ include file="/WEB-INF/jsp/maintenance/details.jsp" %>
        </div>
        <div align="right">
            <form:form beanclass="ipfms.stripes.maintenance.CheckingComplaintsActionBean">
                <c:if test="${actionBean.frm eq 'comp'}">
                    <s:submit name="back" value="Back" class="btn"/>
                </c:if>
                <c:if test="${actionBean.frm eq 'list'}">
                    <s:submit name="backList" value="Back" class="btn"/>
                </c:if>
            </form:form>
        </div>
    </div>
</div>
